Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Types] Fix rebase bug in aggregate wireables #1152

Merged
merged 1 commit into from
Oct 11, 2022
Merged

Conversation

leonardt
Copy link
Collaborator

I chose the wrong changes for these functions when rebasing the tuple2 code. With the aggregate_wireable_method decorator, they only need to implement the logic for when children are elaborated (the decorator calls the aggregate method if the has_elaborated_children check fails). This didn't trigger a CI bug because when unwire fails, it just raises a warning (e.g. driving an already driven value) that occurs silently in the passing tests. Adds a test to cover this case.

I chose the wrong changes for these functions when rebasing the tuple2
code.  With the aggregate_wireable_method decorator, they only need to
implement the logic for when children are elaborated (the decorator
calls the aggregate method if the has_elaborated_children check fails).
This didn't trigger a CI bug because when unwire fails, it just raises a
warning (e.g. driving an already driven value) that occurs silently in
the passing tests.  Adds a test to cover this case.
@leonardt leonardt requested a review from rsetaluri October 11, 2022 19:04
@rsetaluri rsetaluri changed the title Fix rebase bug in aggregate wireables, add tests Fix rebase bug in aggregate wireables Oct 11, 2022
@rsetaluri rsetaluri changed the title Fix rebase bug in aggregate wireables [Types] Fix rebase bug in aggregate wireables Oct 11, 2022
@leonardt leonardt merged commit 5c6cfc5 into master Oct 11, 2022
@leonardt leonardt deleted the hotfix-lazy-array branch October 11, 2022 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants